package com.yuanfeng.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yuanfeng.base.dto.ModularizationdDTO;
import com.yuanfeng.base.entity.BaseShopModularizationdEntity;
import com.yuanfeng.base.vo.ModularizationdGoodsVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Entity com.yuanfeng.base.entity.BaseShopModularizationd
 */
@Mapper
public interface BaseShopModularizationdMapper extends BaseMapper<BaseShopModularizationdEntity> {

    Integer add(@Param("param") ModularizationdDTO param);

    Integer updateInfo(@Param("param") ModularizationdDTO param);

    ModularizationdDTO selectModularizationdByStart(@Param("shopId")Integer shopId);

    ModularizationdGoodsVO queryModularizationdGoodsInfo(@Param("goodsId") String goodsId);

    IPage<BaseShopModularizationdEntity> queryModularizationdAll(IPage<BaseShopModularizationdEntity> page , @Param("param") ModularizationdDTO param);

    ModularizationdDTO queryModularizationdById(@Param("param") ModularizationdDTO param);
}




